import axios from '../utils/axios'

//渲染
export function getDataApi(params) {
    return axios({
        method: 'get',
        url: '/msbd/get-msbd',
        params
    })
}

//新增
export function addDataApi(data) {
    return axios({
        method: 'post',
        url: '/msbd/save-msbd',
        data
    })
}

//删除
export function deleDataApi(params) {
    return axios({
        url: '/msbd/delete-msbd',
        method: 'get',
        params
    })
}

//修改
export function updataDataApi(data) {
    return axios({
        url: '/msbd/update-msbd',
        method: 'post',
        data
    })
}